import { AxiosBasicCredentials } from "axios";
import type { ICommonDataRes } from "@/types";
// import type { IPermission } from "../acl/menu/type";
/**
 * 登入参数接口；axios基本身份证明
 */
export type ILoginParmas = AxiosBasicCredentials;

export type ILoginResData = {
  access_token: string;
  refresh_token: string;
  username: string;
};

/** 更新、删除、新增用户返回类型 */
export type IConmmonRoleRes = ICommonDataRes;

/** 身份登入返回类型 */
export type IUserListResData = ICommonDataRes<ILoginResData>;
